package com.blue.wechat.pay.model;

/**
 * 异步调用参数
 * 
 * @author zhengjin
 * @since 2015年6月18日 1.0
 * 
 */
public class NotifyRequest
{
	private ResponseCode returnCode; // 返回状态码，SUCCESS/FAIL
	private String returnMsg; // 返回信息
	private String appid; // 公众账号ID
	private String mchId; // 商户号
	private String deviceInfo; // 设备号
	private String nonceStr; // 随机字符串
	private String sign; // 签名
	
	private ResponseCode resultCode; // 业务结果，SUCCESS/FAIL
	private String errCode; // 错误代码
	private String errCodeDes; // 错误代码描述

	private String openid; // 用户标识
	private String isSubscribe; // 是否关注公众账号：Y-关注，N-未关注
	private String tradeType; // 交易类型：JSAPI，NATIVE，APP，MICROPAY
	private String bankType; // 付款银行，采用字符串类型的银行标识
	private Integer totalFee; // 总金额，单位为分
	private String feeType; // 货币种类
	private Integer cashFee; // 现金支付金额
	private String cashFeeType; // 现金支付货币类型
	private Integer couponFee; // 代金券或立减优惠金额
	private Integer couponCount; // 代金券或立减优惠使用数量
	//
	private String transactionId; // 微信支付订单号
	private String outTradeNo; // 商户订单号
	private String attach; // 商家数据包
	private String timeEnd; // 订单支付时间，格式为yyyyMMddHHmmss

	public NotifyRequest()
	{
	}

	public ResponseCode getReturnCode()
	{
		return returnCode;
	}

	public void setReturnCode(ResponseCode returnCode)
	{
		this.returnCode = returnCode;
	}

	public String getReturnMsg()
	{
		return returnMsg;
	}

	public void setReturnMsg(String returnMsg)
	{
		this.returnMsg = returnMsg;
	}

	public String getAppid()
	{
		return appid;
	}

	public void setAppid(String appid)
	{
		this.appid = appid;
	}

	public String getMchId()
	{
		return mchId;
	}

	public void setMchId(String mchId)
	{
		this.mchId = mchId;
	}

	public String getNonceStr()
	{
		return nonceStr;
	}

	public void setNonceStr(String nonceStr)
	{
		this.nonceStr = nonceStr;
	}

	public String getSign()
	{
		return sign;
	}

	public void setSign(String sign)
	{
		this.sign = sign;
	}

	public ResponseCode getResultCode()
	{
		return resultCode;
	}

	public void setResultCode(ResponseCode resultCode)
	{
		this.resultCode = resultCode;
	}

	public String getErrCode()
	{
		return errCode;
	}

	public void setErrCode(String errCode)
	{
		this.errCode = errCode;
	}

	public String getErrCodeDes()
	{
		return errCodeDes;
	}

	public void setErrCodeDes(String errCodeDes)
	{
		this.errCodeDes = errCodeDes;
	}

	public String getDeviceInfo()
	{
		return deviceInfo;
	}

	public void setDeviceInfo(String deviceInfo)
	{
		this.deviceInfo = deviceInfo;
	}

	public String getOpenid()
	{
		return openid;
	}

	public void setOpenid(String openid)
	{
		this.openid = openid;
	}

	public String getIsSubscribe()
	{
		return isSubscribe;
	}

	public void setIsSubscribe(String isSubscribe)
	{
		this.isSubscribe = isSubscribe;
	}

	public String getTradeType()
	{
		return tradeType;
	}

	public void setTradeType(String tradeType)
	{
		this.tradeType = tradeType;
	}

	public String getBankType()
	{
		return bankType;
	}

	public void setBankType(String bankType)
	{
		this.bankType = bankType;
	}

	public Integer getTotalFee()
	{
		return totalFee;
	}

	public void setTotalFee(Integer totalFee)
	{
		this.totalFee = totalFee;
	}

	public String getFeeType()
	{
		return feeType;
	}

	public void setFeeType(String feeType)
	{
		this.feeType = feeType;
	}

	public Integer getCashFee()
	{
		return cashFee;
	}

	public void setCashFee(Integer cashFee)
	{
		this.cashFee = cashFee;
	}

	public String getCashFeeType()
	{
		return cashFeeType;
	}

	public void setCashFeeType(String cashFeeType)
	{
		this.cashFeeType = cashFeeType;
	}

	public Integer getCouponFee()
	{
		return couponFee;
	}

	public void setCouponFee(Integer couponFee)
	{
		this.couponFee = couponFee;
	}

	public Integer getCouponCount()
	{
		return couponCount;
	}

	public void setCouponCount(Integer couponCount)
	{
		this.couponCount = couponCount;
	}

	public String getTransactionId()
	{
		return transactionId;
	}

	public void setTransactionId(String transactionId)
	{
		this.transactionId = transactionId;
	}

	public String getOutTradeNo()
	{
		return outTradeNo;
	}

	public void setOutTradeNo(String outTradeNo)
	{
		this.outTradeNo = outTradeNo;
	}

	public String getAttach()
	{
		return attach;
	}

	public void setAttach(String attach)
	{
		this.attach = attach;
	}

	public String getTimeEnd()
	{
		return timeEnd;
	}

	public void setTimeEnd(String timeEnd)
	{
		this.timeEnd = timeEnd;
	}

}
